package top.tocchen.bookshop.service;

import top.tocchen.bookshop.entity.CartEntity;
import top.tocchen.bookshop.entity.CartDoEntity;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: tocchen
 * Date: 2021-05-12
 * Time: 22:29
 */
public interface CartService {
    List<CartDoEntity> findByCartUserId(Integer uid);

    int insert(CartEntity record);

    void deleteByUserID(Integer id);

    void updateByIdSetCount(CartEntity cart);

    List<CartEntity> findAll();


}
